package com.mydomain.Bodega;

import com.mydomain.Bodega.*;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;
import java.util.Arrays;

@Name("invAjusteList")
public class InvAjusteList extends EntityQuery<InvAjuste> {

	private static final String EJBQL = "select invAjuste from InvAjuste invAjuste";

	private static final String[] RESTRICTIONS = { "lower(invAjuste.ajuObservacion) like concat(lower(#{invAjusteList.invAjuste.ajuObservacion}),'%')", };

	private InvAjuste invAjuste = new InvAjuste();

	public InvAjusteList() {
		setEjbql(EJBQL);
		setRestrictionExpressionStrings(Arrays.asList(RESTRICTIONS));
		setMaxResults(25);
	}

	public InvAjuste getInvAjuste() {
		return invAjuste;
	}
}
